<div class="top">
    <div class="menu">
      <ul>
        <li><span>102</span><a href="link.php">我喜欢的</a></li>
        <li class="selected"><span>20</span><a href="link.php">我已买的</a></li>
      </ul>
      <div class="r"></div>
    </div>
    <div class="search">
      <div class="l"></div>
      <div class="c">
        <div class="search_chose"><a title="选择商品/店铺" href="#"><span></span></a></div>
        <div onmouseout="searchbarhide(this)" onclick="searchbarshow(this)" class="search_bar">
          <label for="search_input">请输入商家名称</label>
          <input type="text" name="search_input" value="">
        </div>
        <div class="search_btn"><a title="搜索" href="search.php"></a> </div>
        <script type="text/javascript">
function searchbarshow(t) {
    t.className= "search_bar hover";
}
function searchbarhide(t) {
	t.className = "search_bar";
}
</script> 
      </div>
      <div class="r"></div>
    </div>
    <div class="cart"><a title="购物车" href="#"></a></div>
  </div>